home *** CD-ROM | disk | FTP | other *** search
- Path: saimin.esd.sgi.com!kenton
- From: kenton@rahul.net (Ken Lee)
- Newsgroups: comp.windows.x,comp.lang.c
- Subject: Re: get text strings from keyboard
- Date: 22 Feb 1996 18:39:28 GMT
- Organization: X/Motif Consultant, http://www.rahul.net/kenton/index.shtml
- Sender: kenton@saimin.esd.sgi.com (Ken Lee)
- Message-ID: <4gid90$15o@murrow.corp.sgi.com>
- References: <Pine.SGI.3.91.960222115042.25886A-100000@mozart.bme.ohio-state.edu>
- NNTP-Posting-Host: saimin.esd.sgi.com
-
- In article <Pine.SGI.3.91.960222115042.25886A-100000@mozart.bme.ohio-state.edu>,
- xiaoyi@mozart.bme.ohio-state.edu (Xiaoyi Wu) writes:
- |> what i am doing now is use KeyPress
- |> mask to detect keyboard inputs, and i think i must be missing somehting
- |> here since although XLookupString claims to fill a string buffer i am
- |> only getting ONE character at a time.
-
- I think you need to re-read your Xlib manual. KeyPress events normally
- contain only one character at a time.
-
- --
- Ken Lee, X/Motif Consulting, http://www.rahul.net/kenton/index.shtml
-